﻿<!--Each visual block on this page (with exception on the confirmation block at the end) is designed in separate xaml files
    and then just put together as a single page here.
    To keep look and feel of the whole page consistent, formats of header, blocks and buttons are defined in formstyling.xaml
    Other text is defined locally in the individual xaml files-->
    <UserControl x:Class="P_PersonalDetails.PersonalDetailsPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:blocks="clr-namespace:P_PersonalDetails"
    mc:Ignorable="d"
             d:DesignWidth="600"
    Loaded="UserControl_Loaded">
    <UserControl.Resources>
        <ResourceDictionary Source="FormStyling.xaml"/>
    </UserControl.Resources>
    <ScrollViewer BorderBrush="Transparent" VerticalScrollBarVisibility="Auto">
        <StackPanel>
            <blocks:MembershipDetails MemberID="{Binding}" VerticalAlignment="Top" />
            <blocks:SlalomRanking MemberID="{Binding}" Grid.Row="1" VerticalAlignment="Top"/>
            <blocks:Qualifications MemberID="{Binding}" VerticalAlignment="Top"/>
            <blocks:PersonalInfo MemberID="{Binding}" VerticalAlignment="Top"/>
            <blocks:ContactNumbers MemberID="{Binding}" Grid.Row="2" VerticalAlignment="Top"/>
            <blocks:MedicalAndEmergency MemberID="{Binding}" Grid.Row="3" VerticalAlignment="Top"/>
            <Border Style="{StaticResource BoxBorder}">
                <StackPanel>
                    <TextBlock Style="{StaticResource SubText}">You must confirm that you have checked your details or you will not be able to continue the renewal process.</TextBlock>
                    <CheckBox HorizontalAlignment="Left" Checked="Confirm" Unchecked="Unconfirm">Tick to Confirm that you have checked your details</CheckBox>
                    <Button x:Name="btnDone" Click="Done">Return without confirming</Button>
                </StackPanel>
            </Border>
        </StackPanel>
    </ScrollViewer>
</UserControl>
